Skip to content

Avoid scientific notation before exponent 15#863

Merged
byroot merged 1 commit into
ruby:masterfrom
byroot:larger-exponent
Sep 18, 2025
Merged

Avoid scientific notation before exponent 15#863
byroot merged 1 commit into
ruby:masterfrom
byroot:larger-exponent

Conversation

@byroot

@byroot byroot commented Sep 18, 2025

Copy link
Copy Markdown
Member

Fix: #861

It's not incorrect to use scientific notation, but it tend to throw people off a bit, so it's best to keep it for very large numbers.

Fix: ruby#861

It's not incorrect to use scientific notation, but it tend
to throw people off a bit, so it's best to keep it for very large
numbers.
@byroot byroot merged commit 8fdc0ec into ruby:master Sep 18, 2025
35 checks passed
@byroot byroot deleted the larger-exponent branch June 16, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

100000000000.00 Float is dumped in a scientific notation as "1e+11"

1 participant